package org.example.entity;

import lombok.Data;

import java.util.Date;

@Data
public class User {

    private String name;

    public int age;

    private Date birthDate;

    public User() {
    }

    public User(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public User(String name, int age, Date birthDate) {
        this.name = name;
        this.age = age;
        this.birthDate = birthDate;
    }
}
